using Abp.Application.Services;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Xwy.MyProject.Authorization;
using Xwy.MyProject.Reservations.Dto;
using Xwy.MyProject.Entities;
using System.Threading.Tasks;

namespace Xwy.MyProject.Reservations
{
    //[AbpAuthorize(PermissionNames.Pages_Reservations)]
    [AbpAuthorize]
    public class ReservationAppService : AsyncCrudAppService<Reservation, ReservationDto, long, PagedReservationResultRequestDto, ReservationCreateInput, ReservationUpdateInput>, IReservationAppService
    {
        public ReservationAppService(IRepository<Reservation, long> repository) : base(repository)
        {
           
        }
        [AbpAllowAnonymous]
        public override Task<ReservationDto> CreateAsync(ReservationCreateInput input)
        {
            return base.CreateAsync(input);
        }


    }
}

